package spring.conditional;

import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

@Component
@Conditional(WindowsCondition.class)
public class WindowsListService implements ListService {
    public String showListCmd() {
        return "dir";
    }
}
